package com.mysoft.gfyx.workbench.mip;

import com.mingyuanyun.sdk.mip.annotation.MipAuth;
import com.mingyuanyun.sdk.mip.client.IHttpApi;
import com.mingyuanyun.sdk.mip.enm.MipAuthType;
import com.mysoft.gfyx.workbench.mip.dto.GetOpenIdByPhoneRequestDto;
import feign.Headers;
import feign.RequestLine;

import java.util.LinkedHashMap;

@MipAuth(MipAuthType.OAUTH2)
public interface WechatService extends IHttpApi {
    //todo 对接openapi的获取绑定微信公众号接口
    @RequestLine("POST /v1/company/fuzzy-search")
    @Headers("Content-Type: application/json")
    LinkedHashMap getOpenIdByPhone(GetOpenIdByPhoneRequestDto getOpenIdByPhoneRequestDto);

}